package com.yanqu.road.entity.winery;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;
import java.util.List;

@FieldTypeAnnotation(tableName = "t_u_winery_drinker")
public class UserWineryDrinkerData extends DataObject {
    @FieldTypeAnnotation(desc = "用户Id", select = true, update = true)
    private long userId;
    @FieldTypeAnnotation(desc = "酒客Id", select = true, update = true)
    private int drinkerId;

    @FieldTypeAnnotation(desc = "友情值")
    private int friendlyValue;

    @FieldTypeAnnotation(desc = "领励记录")
    private List<Integer> rewardList;

    @FieldTypeAnnotation(desc = "创建时间")
    private Date createAt;

    @FieldTypeAnnotation(desc = "更新时间")
    private Date updateAt;

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getDrinkerId() {
        return drinkerId;
    }

    public void setDrinkerId(int drinkerId) {
        this.drinkerId = drinkerId;
    }

    public int getFriendlyValue() {
        return friendlyValue;
    }

    public void setFriendlyValue(int friendlyValue) {
        this.friendlyValue = friendlyValue;
    }

    public List<Integer> getRewardList() {
        return rewardList;
    }

    public void setRewardList(List<Integer> rewardList) {
        this.rewardList = rewardList;
    }

    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }

    public Date getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(Date updateAt) {
        this.updateAt = updateAt;
    }
}
